package com.nl.controller.web.bean;

import com.nl.controller.web.util.SetBeanUtil;

public class SmsMgrTemplateInfo {
	@Override
	public String toString() {
		return "SmsMgrTemplateInfo [province=" + province + ", id=" + id + ", name=" + name + ", cityId=" + cityId
				+ ", cityName=" + cityName + ", countyId=" + countyId + ", countyName=" + countyName + ", mgrState="
				+ mgrState + ", mgrStateName=" + mgrStateName + ", cityExtId=" + cityExtId + ", templateState="
				+ templateState + ", templateStateName=" + templateStateName + ", startDate=" + startDate + ", endDate="
				+ endDate + ", regionId=" + regionId + ", content=" + content + ", isLocal=" + isLocal
				+ ", isThreshold=" + isThreshold + ", threshold=" + threshold + ", regionType=" + regionType
				+ ", regionTypeValue=" + regionTypeValue + ", createTime=" + createTime + ", modifyTime=" + modifyTime
				+ ", sendState=" + sendState + ", smsRealtimeControl=" + smsRealtimeControl + ", msisdn=" + msisdn
				+ ", cycle=" + cycle + ", cycleThreshold=" + cycleThreshold + ", localDate=" + localDate + ", checkNum="
				+ checkNum + "]";
	}
	private String taskId;//气象局任务编码
	private String province; //省份
    private String id;// 项目编号
    private String name;// 项目名称
    private String cityId;// 地市
    private String cityName;// 地市名称
    private String countyId;// 区县
    private String countyName;// 区县名称
    private String mgrState;// 项目状态 
    private String mgrStateName;// 0 开启 1暂停 2 关闭 3 默认状态配置中
    private String cityExtId;// 扩展码
    private String templateState;// 模板状态
    private String templateStateName;//0待审核，1审核中，2审核通过，3审核不通过
    private String startDate;// 开始时间
    private String endDate;// 结束时间
    private String regionId;// 区域编码
    private String content;// 发送内容
    private String contentType;//短信内容类型 0为自定义 其他为短信模板id
    private String isLocal;// 0本地 1外地 2本地加外地
    private String isThreshold;//0 无阈值 1 只设置总阈值 2只设置周期阀值 3设置两种阀值
    private int threshold;// 阈值
    private String  openAccount;//是否开户

    public String getContentType() {
        return contentType;
    }

    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    private String regionType;// 发送区域类型 1行政区域组合 2圆形 3矩形 4 多边形
    private String regionTypeValue;// 1: a,b  2:经度，纬度#半径   3:4: 经度，纬度#经度，纬度
    private String createTime;// 创建时间
    private String modifyTime;// 修改时间
    private String sendState;//发送状态根据时间判断
    private SmsRealtimeControl smsRealtimeControl;//阀值控制
    private String msisdn;// 用户手机
    private String cycle;// 按月按天按日
    private String cycleThreshold;// 周期阀值
    private String localDate;// 保存时间
    private String checkNum;
    //项目标志 1为正常应急项目 2为盱眙供电局项目
    private String mgrFlag;
    public String getOpenAccount() {
        return openAccount;
    }

    public void setOpenAccount(String openAccount) {
        this.openAccount = openAccount;
    }

    public String getCheckNum() {
		return checkNum;
	}
	public void setCheckNum(String checkNum) {
		this.checkNum = checkNum;
	}
	public String getId() {
        return id;
    }
    public String getName() {
        return name;
    }
    public String getCityId() {
        return cityId;
    }
    public String getMgrState() {
        return mgrState;
    }
    public String getCityExtId() {
        return cityExtId;
    }
    public String getTemplateState() {
        return templateState;
    }
    public String getStartDate() {
        return startDate;
    }
    public String getEndDate() {
        return endDate;
    }
    public String getRegionId() {
        return regionId;
    }
    public String getContent() {
        return content;
    }
    public String getIsLocal() {
        return isLocal;
    }
    
    public String getRegionType() {
        return regionType;
    }
    public String getRegionTypeValue() {
        return regionTypeValue;
    }
    public String getCreateTime() {
        return createTime;
    }
    public String getModifyTime() {
        return modifyTime;
    }
    public void setId(String id) {
        this.id = id;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void setCityId(String cityId) {
        this.cityId = cityId;
    }
    public void setMgrState(String mgrState) {
        this.mgrState = mgrState;
    }
    public void setCityExtId(String cityExtId) {
        this.cityExtId = cityExtId;
    }
    public void setTemplateState(String templateState) {
        this.templateState = templateState;
    }
    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }
    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }
    public void setRegionId(String regionId) {
        this.regionId = regionId;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public void setIsLocal(String isLocal) {
        this.isLocal = isLocal;
    }
   
    public void setRegionType(String regionType) {
        this.regionType = regionType;
    }
    public void setRegionTypeValue(String regionTypeValue) {
        this.regionTypeValue = regionTypeValue;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }
    public String getCountyId() {
        return countyId;
    }
    public void setCountyId(String countyId) {
        this.countyId = countyId;
    }
    public String getCityName() {
        return SetBeanUtil.getCityName(this.cityId);
    }
    public String getCountyName() {
        //return SetBeanUtil.getCountyName(this.countyId);
        return countyName;
    }
    public String getMgrStateName() {
        return SetBeanUtil.getMgrStatus(this.mgrState);
    }
    public String getTemplateStateName() {
        return SetBeanUtil.getTemplate(this.templateState);
    }
    public void setCityName(String cityName) {
        this.cityName = cityName;
    }
    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }
    public void setMgrStateName(String mgrStateName) {
        this.mgrStateName = mgrStateName;
    }
    public void setTemplateStateName(String templateStateName) {
        this.templateStateName = templateStateName;
    }
    public String getIsThreshold() {
        return isThreshold;
    }
    public void setIsThreshold(String isThreshold) {
        this.isThreshold = isThreshold;
    }
    public String getSendState() {
        return sendState;
    }
    public void setSendState(String sendState) {
        this.sendState = sendState;
    }
    public int getThreshold() {
        return threshold;
    }
    public void setThreshold(int threshold) {
        this.threshold = threshold;
    }
    public SmsRealtimeControl getSmsRealtimeControl() {
        return smsRealtimeControl;
    }
    public void setSmsRealtimeControl(SmsRealtimeControl smsRealtimeControl) {
        this.smsRealtimeControl = smsRealtimeControl;
    }
	public String getMsisdn() {
		return msisdn;
	}
	public void setMsisdn(String msisdn) {
		this.msisdn = msisdn;
	}
	public String getCycle() {
		return cycle;
	}
	public void setCycle(String cycle) {
		this.cycle = cycle;
	}
	public String getCycleThreshold() {
		return cycleThreshold;
	}
	public void setCycleThreshold(String cycleThreshold) {
		this.cycleThreshold = cycleThreshold;
	}
	public String getLocalDate() {
		return localDate;
	}
	public void setLocalDate(String localDate) {
		this.localDate = localDate;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public String getMgrFlag() {
		return mgrFlag;
	}
	public void setMgrFlag(String mgrFlag) {
		this.mgrFlag = mgrFlag;
	}
    
}
